Creating a new project

In this part you will create projects from the example code in your PWE.

In the Launch Pad choose Project > New Project... > With Defaults...
A Directory Dialog appears.
Navigate to

<diners> and press Select.
The "Attributes of New Project" dialog appears.
In the "Attributes of New Project" dialog

Select the Generate Subproject Tree checkbox (if it isn´t already selected).
Using this checkbox, any subdirectories located in your project directory will be recursively processed, and for all of them a sub-project will be generated.
Select the Build Options node.
Select the Use SNiFF+ Make Support checkbox.
Select the File Types node.
The following file types should be included in our example project:
Ada9X
Make
Project Description

To accomplish this:

- From the File Types list select Ada9X (if there aren´t all File Types visible press the Show All button).
- Press the Add File Type button (note that Ada9X changed from italics to bold).
- Press the Hide Unused button.
- Select Header from the File Types list and press the Remove File Type button.
- Select Implementation from the File Types list and press the Remove File Type button.

If you do not have Ada9X file type, you can create it at user level, or have the Workspace Administrator create it at site level.
Select the Build System tab.
Press the File... button to navigate to

<your_sniff_installation_dir>/make_support/general.ada.mk .

- Press OK.
- A dialog box appears--asking if the Cross Reference Info should be generated. Press the Yes button.
  Your project
diners.shared with two subprojects - room.shared and random_generic.shared - has just been created.